package com.social.mapper;

import com.social.entity.EmergencyContact;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmergencyContactMapper {
    int deleteByPrimaryKey(String id);

    int insert(EmergencyContact record);

    int insertSelective(EmergencyContact record);

    EmergencyContact selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EmergencyContact record);

    int updateByPrimaryKey(EmergencyContact record);
    List<EmergencyContact> selectByHouseKeeperId(String id);
    int deleteByHouseKeeperId(String id);
}